package com.iot.modbus.route;

import com.serotonin.modbus4j.exception.ErrorResponseException;
import com.serotonin.modbus4j.exception.ModbusTransportException;
import com.serotonin.modbus4j.ip.IpParameters;

public interface WriterSessionRoute {

    void writeInt16(IpParameters ipParameters, int startOffset, Object values) throws ModbusTransportException, ErrorResponseException;

    void writeFloat32(IpParameters ipParameters,int startOffset, Object values) throws ModbusTransportException, ErrorResponseException;
}
